package com.gimi.cloud.bbp.manage.consumer.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.gimi.cloud.bbp.common.utils.reqhead.Response;
import com.gimi.cloud.bbp.dto.mall.MallMessageDTO;

import feign.Headers;

@FeignClient(name = "bbp-manage-service")
public interface MallMessageFeignService {
	
	 @Headers({"Content-Type: application/json","Accept: application/json"})
	 @RequestMapping(value = "/mall/message/sendMessage", method = RequestMethod.POST)
	 Response sendMessage(MallMessageDTO mallMessageDTO);

}